package extensions.android.romarioActivities;

import uclm.extensions.android.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.Spinner;

public class AdminLobbyActivity extends Activity
{	
	
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.romario_admin_lobby_layout);
		
		Spinner modosJuegoSpinner = (Spinner)findViewById(R.id.modosJuegoSpinner);
		modosJuegoSpinner.setAdapter(new ArrayAdapter<String>(this, R.layout.list_item, new String[]{"Classic", "Extreme"}));
				
		Spinner difSpinner = (Spinner)findViewById(R.id.dificultadSpinner);
		difSpinner.setAdapter(new ArrayAdapter<String>(this, R.layout.list_item, new String[]{"Easy", "Normal", "Hard"}));
		
	}
	
	public void onBackClick(View view)
	{
		finish();
	}
	
	public void onConfigClick(View view)
	{
		Intent intent = new Intent(this, ClientLobbyActivity.class);
		
		startActivity(intent);
	}
	
	public void onPlayClick(View view)
	{
		
	}
}
